package org.melanesia.sql.exceptions;

/**
 * Base exception for sql execution errors.
 * 
 * @author marcin.kielar
 */
public class SQLExecutionException extends RuntimeException {

    /** Serial version uid for serialization. */
    private static final long serialVersionUID = -2690587283613500885L;

    /**
     * Constructs new {@link SQLExecutionException} with the specified detail
     * message.
     * 
     * @param message
     *            message
     */
    public SQLExecutionException(final String message) {
        super(message);
    }

    /**
     * Constructs new {@link SQLExecutionException} with the specified cause.
     * 
     * @param cause
     *            the cause
     */
    public SQLExecutionException(final Throwable cause) {
        super(cause);
    }

    /**
     * Constructs new {@link SQLExecutionException} with the specified detail
     * message and a cause.
     * 
     * @param message
     *            message
     * @param cause
     *            the cause
     */
    public SQLExecutionException(final String message, final Throwable cause) {
        super(message, cause);
    }

}
